package org.jeecg.modules.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.app.entity.Customer;
import org.jeecg.modules.app.entity.FoodCategory;
import org.jeecg.modules.app.vo.RemakeVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 李圳川
 * @version 1.0
 * @date 2022/6/8 20:52
 * @content
 */
@Repository
public interface CustomerMapper extends BaseMapper<Customer> {

    /**
     * 更新顾客信息
     * @param customer
     */
    void updateCustomerById( @Param("customer") Customer customer);


    /**
     * 查询顾客的所有评论信息
     * @param id
     */
    List<RemakeVo> selectCustomerRemakeById(@Param("id")String id);

}
